﻿@model Lamps_Studio.Models.RegisterFormModel

@{
    ViewBag.Title = "Register new account";
}
    
<div class="jumbotron">
    <div class="break-line"></div>
    <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4   login-register-box ">

                @using (Html.BeginForm("Register", "Account", FormMethod.Post))
                {
                    <fieldset>
                        <legend>
                            <span class="header-form">Register new account</span>
                        </legend>

                        <div class="editor-label">
                            @Html.ValidationSummary(true)
                         </div>

                        <div class="editor-field">
                            @Html.TextBoxFor(m => m.FirstName, new { @placeholder = "First Name", @class = "form-control" })
                        </div>
                        <div class="editor-label">
                         <h3></h3>
                     </div>
                        <div class="editor-field">
                            @Html.TextBoxFor(m => m.LastName, new { @placeholder = "Last Name", @class = "form-control" })
                        </div>
                        <div class="editor-label">
                         <h3></h3>
                     </div>
                        <div class="editor-field">
                            @Html.TextBoxFor(m => m.Username, new { @placeholder = "username", @class = "form-control" })
                            @Html.ValidationMessageFor(m => m.Username)
                        </div>
                        <div class="editor-label">
                         <h3></h3>
                     </div>
                        <div class="editor-field">
                            @Html.PasswordFor(m => m.Password, new { @placeholder = "new pasword", @class = "form-control" })
                            @Html.ValidationMessageFor(m => m.Password)
                            </div>
                        <div class="editor-label">
                         <h3></h3>
                        </div>
                        <div class="editor-field">
                            @Html.PasswordFor(m => m.RePassword, new { @placeholder = "retype", @class = "form-control" })
                            @Html.ValidationMessageFor(m => m.RePassword)
                        </div>

                          <div class="editor-label">
                         <h3></h3>
                        </div>
                        <div class="editor-field">
                            @Html.TextBoxFor(m => m.Email, new { @placeholder = "example@domainname.com", @class = "form-control" })
                            @Html.ValidationMessageFor(m => m.Email)
                        </div>

                        <div class="editor-label">
                         <p>
                             <br />
                             @Html.CheckBoxFor(m => m.Policy) &nbsp; &nbsp; Recieve notification via email.
                         </p>
                     </div>

                        <div class="editor-label">
                            <p>
                                <br />

                            </p>
                        </div>
                        <div class="editor-label">
                            <p>
                                <button type="submit" class="btn btn-small btn-primary"><i class="glyphicon glyphicon-circle-arrow-right"></i>Register new account</button>
                            </p>
                        </div>
                    </fieldset>
                }
            </div>
        </div>
    </div>
</div>